package org.jeecg.modules.cascv.image.util;

import cn.hutool.core.map.MapUtil;
import cn.hutool.core.thread.ExecutorBuilder;
import com.NativeImageIO;
import com.alibaba.fastjson.JSONObject;
import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.google.common.collect.EvictingQueue;
import org.bytedeco.javacpp.Pointer;
import org.caffinitas.ohc.Eviction;
import org.caffinitas.ohc.OHCache;
import org.caffinitas.ohc.OHCacheBuilder;
import org.jeecg.modules.cascv.image.entity.GmvVideo;
import org.jeecg.modules.cascv.image.service.merge.ImageService;
import org.jeecg.modules.cascv.image.service.video.VideoService;

import java.util.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;

public class LaptopConstant {

    //图片合成工具 new NativeImageIO.var
    public static NativeImageIO nativeImageIO = new NativeImageIO();

    public static List<CompletableFuture<JSONObject>> imageFutureList = new CopyOnWriteArrayList<>();

    public static Map<String, ImageService> imageServiceMap = new HashMap<>();

    //ids和缓存的数组
    public static Map<String, List<JSONObject>> infoMap = new ConcurrentHashMap<>();

    //判断线程释放的map
    public static Map<String, Long> timeMap = new ConcurrentHashMap<>();

    //管理线程的map fileId-线程的map
    public static Map<String, Boolean> threadMap = new ConcurrentHashMap<>();
    //fileId-filePath Map
    public static Map<String, String> filePathMap = new ConcurrentHashMap<>();
    //liutigui liangxianggui 每次获取存入的图像编号的map
    public static Map<String, String> imageNumMap = new ConcurrentHashMap<>();
    // 每次获取存入包序号
    public static Map<String, Integer> packageNumMap = new ConcurrentHashMap<>();
    //存储tableName的map
    public static Map<String, String> tableNameMap = new ConcurrentHashMap<>();

    public static Map<String, Integer> startOrStop = new ConcurrentHashMap<>();
    //
    //liutigui liangxianggui 每次获取存入的图像编号的map
    public static Map<String, String> lastlistsize = new ConcurrentHashMap<>();

    //rMq传输过来存入的List实际

    //传给前端播放的随机数


    //燃烧柜合成图片 创建的线程池  setCorePoolSize（9） setMaxPoolSize（9） 之前是9 在这里改为1
    public static AtomicLong python_loop = new AtomicLong(1);
    public static ThreadPoolExecutor python_pool = ExecutorBuilder.create().setCorePoolSize(1).setMaxPoolSize(1).setWorkQueue(new LinkedBlockingQueue<>()).build();
    //保存的图片名称，用来下载图片的
    public static Map<String, List<String>> imagefilename = new ConcurrentHashMap<>();
    //判断超冷柜的flag
    public static boolean chaolengFlag = true;
    //存储超冷柜的数据
    public static Map<String, Integer> chaolengdate = new ConcurrentHashMap<>();
    //存储MQ传过来的数据 idsname 与他地址 用于生产.json文件的地址
    public static Map<String, String> idsname_filePath = new ConcurrentHashMap<>();
    //图片开始标记
    public static final String START_FLAG = "01B";
    //图片结束标记
    public static final String END_FLAG = "10B";
    // Head Pic的数据长度
    public static Map<String, String> data_length_map = new HashMap<>();

    //    public static ConcurrentHashMap<String,String> ORDER_NUMBER_MAP = new ConcurrentHashMap<>();//序号包
//    static {//格式：ORDER_NUMBER_MAP.put("", "");
//
//        //超冷柜
//        ORDER_NUMBER_MAP.put("TGMTYY1001_098H_31_CAPRCCD1","CAPR_CCD_1_HEAD_6_7_2");
//        ORDER_NUMBER_MAP.put("6DDDH_30H","CAPR_CCD_1_HEAD_6_7_2");
//        ORDER_NUMBER_MAP.put("TGMTYY1001_098H_31_CAPRCCD2","CAPR_CCD_2_HEAD_6_7_2");
//        ORDER_NUMBER_MAP.put("TGMTYY1001_098H_31_CAPRCCD3","CAPR_CCD_3_HEAD_6_7_2");
//
//        //视频的包序号
//        ORDER_NUMBER_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3I","A1_VGR_MICU_APP14DATA_6_7_2");
//        ORDER_NUMBER_MAP.put("TGMTYY1201_09AH_HMRCSAPP1H","APED_APHEAD__6_7_2");
//
//    }
    public static ConcurrentHashMap<String, String> XAxis_MAP = new ConcurrentHashMap<>();//X轴数据
    //格式：XAxis_MAP.put("","");
    static {
        //生物实验柜
        XAxis_MAP.put("6D1DH_51H","A1_BTR_BTR_APPDATA_0_1_1");
        XAxis_MAP.put("6D2DH_51H","A1_BTR_BTR_APPDATA_0_1_1");
        XAxis_MAP.put("6D4DH_51H","A1_BTR_BTR_APPDATA_0_1_1");
        XAxis_MAP.put("6D1DH_57H","A1_BTR_PCAM_APPDATA_0_1_1");
        XAxis_MAP.put("6D3DH_51H","A1_BTR_BTR_APPDATA_0_1_1");
        XAxis_MAP.put("6D5DH_51H","A1_BTR_BTR_APPDATA_0_1_1");
        XAxis_MAP.put("6D6DH_51H","A1_BTR_BTR_APPDATA_0_1_1");
        XAxis_MAP.put("6D7DH_51H","A1_BTR_BTR_APPDATA_0_1_1");
        XAxis_MAP.put("6D8DH_51H","A1_BTR_BTR_APPDATA_0_1_1");

        XAxis_MAP.put("6D1DH_5AH","A1_BTR_PCAM_APP12DATA_16_17_1");
        XAxis_MAP.put("6D2DH_5AH","A1_BTR_PCAM_APP13DATA_16_17_1");

        XAxis_MAP.put("6D2DH_57H","A1_BTR_PCAM_APPDATA_0_1_1");

        //生物生态柜
        XAxis_MAP.put("6D1DH_48H","");
        XAxis_MAP.put("6D3DH_48H","");
    }

    public static ConcurrentHashMap<String, String> YAxis_MAP = new ConcurrentHashMap<>();//Y轴数据
    //格式：YAxis_MAP.put("","");
    static {
        //生物实验柜
        YAxis_MAP.put("6D1DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D1DH_57H","A1_BTR_PCAM_APPDATA_2_3_1");
        YAxis_MAP.put("6D3DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D2DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D4DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D5DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D6DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D7DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D8DH_51H","A1_BTR_BTR_APPDATA_2_3_1");
        YAxis_MAP.put("6D2DH_57H","A1_BTR_PCAM_APPDATA_2_3_1");

        YAxis_MAP.put("6D1DH_5AH","A1_BTR_PCAM_APP12DATA_18_19_1");
        YAxis_MAP.put("6D2DH_5AH","A1_BTR_PCAM_APP13DATA_18_19_1");

    //生物生态柜
        YAxis_MAP.put("6D1DH_48H","");
        YAxis_MAP.put("6D3DH_48H","");
    }

    public static ConcurrentHashMap<String, String> ZAxis_MAP = new ConcurrentHashMap<>();//Z轴数据
    //格式：ZAxis_MAP.put("","");
    static {
        //生物实验柜
        ZAxis_MAP.put("6D1DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D1DH_57H","A1_BTR_PCAM_APPDATA_4_5_1");
        ZAxis_MAP.put("6D3DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D2DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D4DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D6DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D8DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D5DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D7DH_51H","A1_BTR_BTR_APPDATA_4_5_1");
        ZAxis_MAP.put("6D2DH_57H","A1_BTR_PCAM_APPDATA_4_5_1");
        ZAxis_MAP.put("6D1DH_5AH","A1_BTR_PCAM_APP12DATA_20_21_1");
        ZAxis_MAP.put("6D2DH_5AH","A1_BTR_PCAM_APP13DATA_20_21_1");


        //生物生态柜
        ZAxis_MAP.put("6D1DH_48H","");
        ZAxis_MAP.put("6D3DH_48H","");
    }

    public static ConcurrentHashMap<String, String> IntegralTime_MAP = new ConcurrentHashMap<>();//积分时间
    //格式：IntegralTime_MAP.put("","");
    static {
        //生物实验柜
        IntegralTime_MAP.put("6D1DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D2DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D1DH_57H","A1_BTR_PCAM_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D3DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D4DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D5DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D6DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D7DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D8DH_51H","A1_BTR_BTR_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D2DH_57H","A1_BTR_PCAM_APPDATA_6_7_1");
        IntegralTime_MAP.put("6D1DH_5AH","A1_BTR_PCAM_APP13DATA_22_23_1");
        IntegralTime_MAP.put("6D2DH_5AH","A1_BTR_PCAM_APP14DATA_22_23_1");

        //生物生态柜
        IntegralTime_MAP.put("6D1DH_48H","");
        IntegralTime_MAP.put("6D3DH_48H","");
    }


    public static ConcurrentHashMap<String, String> Package_number_MAP = new ConcurrentHashMap<>();//不同柜的包序号

    static {//格式：Package_number_MAP.put("","");
        //核心舱 医学样本分析与高微重力科学实验柜
        Package_number_MAP.put("6DCDH_1DH", "A1_HMLR_MICU_APP4DATAZGR_6_7_2");//悬浮系统图像型  HMLR_PD_APP_H10_2005_1   , A1_CMPR_MICU_APP5DATA_16_2021_1
        Package_number_MAP.put("TGTHYY0501_061H_31_HMRCSAPP2H", "A1_HMLR_MICU_APP4DATAZGR_6_7_2");
        //核心舱 无容器材料实验柜
        Package_number_MAP.put("6D5DH_3CH", "A1_CMPR_MICU_APP5DATA_6_7_2");//CMPR全景相机图像数据
        Package_number_MAP.put("6D6DH_3BH", "A1_CMPR_MICU_APP6DATA_6_7_2");//CMPR密度相机1图像数据
        Package_number_MAP.put("6D7DH_3CH", "A1_CMPR_MICU_APP7DATA_6_7_2");//CMPR密度相机2图像数据
        Package_number_MAP.put("6D9DH_3FH", "A1_CMPR_MICU_APP9DATA_6_7_2");//CMPR位控板卡图像

        Package_number_MAP.put("TGTHYY0401_090H_31_CMPRAPP5", "A1_CMPR_MICU_APP5DATA_6_7_2");
        Package_number_MAP.put("TGTHYY0401_090H_31_CMPRAPP6", "A1_CMPR_MICU_APP6DATA_6_7_2");
        Package_number_MAP.put("TGTHYY0401_090H_31_CMPRAPP7", "A1_CMPR_MICU_APP7DATA_6_7_2");
        Package_number_MAP.put("TGTHYY0401_090H_31_CMPRAPP9", "A1_CMPR_MICU_APP9DATA_6_7_2");

        //实验舱I 等离子体原位成像探测器
        Package_number_MAP.put("TGWTYY0304_549H_31_LZCXY", "");//离子成像仪数据

        //实验舱I 生物技术实验柜
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP1", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D1DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP2", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D2DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP3", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D3DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D7DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D5DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D1DH_57H", "A1_BTR_PCAM_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP4", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D4DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP5", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP6", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D6DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP7", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP8", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D8DH_51H", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP9", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP10", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP11", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D2DH_57H", "A1_BTR_PCAM_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP12", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("TGWTYY0901_094H_31_BTRAPP13", "A1_BTR_BTR_APPHEAD_6_7_2");
        Package_number_MAP.put("6D1DH_5AH", "A1_BTR_PCAM_APP12DATA_6_7_2");
        Package_number_MAP.put("6D2DH_5AH", "A1_BTR_PCAM_APP13DATA_6_7_2");


        //实验舱I 材料舱外暴露实验装置
        Package_number_MAP.put("TGWTYY4001_511H_31_MEEDGIF", "A1_MEEDGIF_DATA_B_0_2023_1");//图像

        //实验舱I 科学手套箱与低温存储柜
        Package_number_MAP.put("6D32H_67H", "A1_GCSR_MICU_APP4DATA_6_7_2"); //显微监视图像
        Package_number_MAP.put("6D31H_67H", "A1_GCSR_MICU_APP3DATA_6_7_2");//显微科学图像
        Package_number_MAP.put("6D21H_64H", "HEAD7_HEAD8_2");//视频监控1图像
        Package_number_MAP.put("6D22H_64H", "HEAD7_HEAD8_2");//视频监控2图像

        //实验舱I 生命生态实验柜
        Package_number_MAP.put("6D1DH_41H", "A1_LER_GBCM_APPHEAD_6_7_2");//通用生物培养模块宏观相机1图像
        Package_number_MAP.put("6D3DH_41H", "A1_LER_GBCM_APPHEAD_6_7_2");//通用生物培养模块宏观相机2图像
        Package_number_MAP.put("6D5DH_41H", "A1_LER_GBCM_APPHEAD_6_7_2");//通用生物培养模块荧光相机1图像
        Package_number_MAP.put("6D2DH_48H", "A1_LER_GBCM_APPHEAD_6_7_2");//小型通用生物培养模块相机显微视频
        Package_number_MAP.put("6D4DH_48H", "A1_LER_GBCM_APPHEAD_6_7_2");//小型通用生物培养模块相机荧光视频
        Package_number_MAP.put("6D7DH_41H", "A1_LER_GBCM_APPHEAD_6_7_2");//通用生物培养模块荧光相机2图像
        Package_number_MAP.put("6D1DH_42H", "A1_LER_MOMM_APPHEAD_6_7_2");//微生物在线监测模块相机1（右）图像
        Package_number_MAP.put("6D1DH_47H", "A1_LER_SCLEEM_APPHEAD_6_7_2");//小型受控生命生态实验模块相机1图像
        Package_number_MAP.put("6D1DH_48H", "A1_LER_GBCM_APPHEAD_6_7_2");//小型通用生物培养模块相机显微图像
        Package_number_MAP.put("6D3DH_48H", "A1_LER_GBCM_APPHEAD_6_7_2");//小型通用生物培养模块相机荧光图像
        Package_number_MAP.put("6D3DH_42H", "A1_LER_MOMM_APPHEAD_6_7_2");//微生物在线监测模块相机2（左）图像


        //流体柜 实验舱II 流体物理实验柜
        Package_number_MAP.put("TGMTYY1301_06BH_31_FPRAPP1", "A1_FPR_MICU_APP1DATA_32_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        Package_number_MAP.put("TGMTYY1301_06BH_31_FPRAPP1_UDP", "A1_FPR_MICU_APP1DATA_32_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        Package_number_MAP.put("TGMTYY1301_06BH_31_FPRAPP3", "A1_FPR_MICU_APP3DATA_26_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        Package_number_MAP.put("TGMTYY1301_06BH_31_FPRAPP19", "A1_FPR_MICU_APP19DATA_26_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        Package_number_MAP.put("TGMTYY1301_06BH_31_FPRAPP2", "A1_FPR_MICU_APP1DATA_32_2021_1");

        Package_number_MAP.put("6D20H_2FH", "A1_FPR_MICU_APP1DATA_6_7_2"); //高分辨CCD图像数据  TGMTYY1301_06BH_31_FPRAPP1
        Package_number_MAP.put("6D27H_2FH", "A1_FPR_MICU_APP19DATA_6_7_2"); // 显微CMOS图像数据 TGMTYY1301_06BH_31_FPRAPP19
        Package_number_MAP.put("6D21H_2FH", "A1_FPR_MICU_APP2DATA_6_7_2"); //彩色CCD图像数据  TGMTYY1301_06BH_31_FPRAPP2    后面解析出来是这个A1_FPR_MICU_APP1DATA_32_2021_1  应该是A1_FPR_MICU_APP2DATA_32_2021_1
        Package_number_MAP.put("6D2BH_2FH", "A1_FPR_MICU_APP23DATA_6_7_2"); //图像传感器采集区域实验数据 TGMTYY1301_06BH_31_FPRAPP23
        Package_number_MAP.put("6D22H_2FH", "A1_FPR_MICU_APP3DATA_6_7_2"); // 高速CCD图像数据 TGMTYY1301_06BH_31_FPRAPP3
        Package_number_MAP.put("6D23H_2FH", "A1_FPR_MICU_APP4DATA_6_7_2"); //红外热像仪数据  TGMTYY1301_06BH_31_FPRAPP4

        //两相柜
        //  Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPPUDP1", "A1_FPR_MICU_APP1DATA_32_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        //    Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP1", "A1_TPSR_MICU_APP1DATA_32_2021_1"); //两箱柜app1
        Package_number_MAP.put("6D1DH_40H", "A1_TPSR_MICU_APP1DATA_6_7_2"); //两箱柜app1
        Package_number_MAP.put("6D20H_40H", "A1_TPSR_MICU_APP4DATA_6_7_2"); //两箱柜app1
        //   Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP2", "A1_TPSR_MICU_APP2DATA_32_2021_1");
        Package_number_MAP.put("6D1EH_40H", "A1_TPSR_MICU_APP2DATA_6_7_2");
        //    Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP3", "A1_TPSR_MICU_APP3DATA_32_2021_1");
        //   Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP4", "A1_TPSR_MICU_APP4DATA_32_2021_1");
        //    Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP5", "A1_TPSR_MICU_APP5DATA_26_2021_1"); //app5
        Package_number_MAP.put("6D21H_40H", "A1_TPSR_MICU_APP5DATA_6_7_2"); //app5
        //    Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP6", "A1_TPSR_MICU_APP6DATA_26_2021_1");
        Package_number_MAP.put("6D22H_40H", "A1_TPSR_MICU_APP6DATA_6_7_2");
        //   Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP7", "A1_TPSR_MICU_APP7DATA_32_2021_1");
        //   Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP8", "A1_TPSR_MICU_APP8DATA_32_2021_1");//app8
        //   Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP9", "A1_TPSR_MICU_APP9DATA_32_2021_1");
        Package_number_MAP.put("6D25H_40H", "A1_TPSR_MICU_APP7DATA_6_7_2");
        //   Package_number_MAP.put("TGMTYY1401_09CH_31_TPSRAPP10", "A1_TPSR_MICU_APP10DATA_32_2021_1");//两相柜APP10
        Package_number_MAP.put("6D26H_40H", "A1_TPSR_MICU_APP7DATA_6_7_2");//两相柜APP10
        Package_number_MAP.put("6D1FH_40H", "A1_TPSR_MICU_APP3DATA_6_7_2");//两相柜APP10

        //实验舱II  燃烧科学实验柜
        Package_number_MAP.put("6D40H_70H", "A1_CSR_MICU_APP1HEAD_6_7_2");
        Package_number_MAP.put("6D20H_70H", "A1_CSR_MICU_APP2HEAD_6_7_2");
        Package_number_MAP.put("6D21H_70H", "A1_CSR_MICU_APP3HEAD_6_7_2");
        Package_number_MAP.put("6D22H_70H", "A1_CSR_MICU_APP4HEAD_6_7_2");
        Package_number_MAP.put("6D23H_70H", "A1_CSR_MICU_APP5HEAD_6_7_2");
        Package_number_MAP.put("6D24H_70H", "A1_CSR_MICU_APP6HEAD_6_7_2");
        Package_number_MAP.put("6D25H_70H", "A1_CSR_MICU_APP7HEAD_6_7_2");

        //实验舱II 高精度时频实验柜I 冷原子光钟原子图像数据包
        Package_number_MAP.put("6D23H_31H", "OLC6D23_6D23DATA1_6_7_2");
        Package_number_MAP.put("TGMTYY1101_069H_31_OLC6D23", "OLC6D23_6D23DATA2_0_2005_1");
        Package_number_MAP.put("6D9DH_71H", "OLC6D23_6D23DATA1_6_7_2");
        Package_number_MAP.put("6D1DH_32H", "HEAD6_HEAD7_2");
        Package_number_MAP.put("6D3DH_32H", "HEAD6_HEAD7_2");

        //实验舱II 超冷原子物理实验柜
        Package_number_MAP.put("6DDDH_30H", "CAPR_CCD_1_HEAD_6_7_2");//超冷原子物理实验柜图像2 TGMTYY1001_098H_31_CAPRCCD2
        Package_number_MAP.put("6DEDH_30H", "CAPR_CCD_2_HEAD_6_7_2");//超冷原子物理实验柜图像2 TGMTYY1001_098H_31_CAPRCCD2
        Package_number_MAP.put("6DFDH_30H", "CAPR_CCD_3_HEAD_6_7_2");//超冷原子物理实验柜图像3 TGMTYY1001_098H_31_CAPRCCD3
        //超冷柜

        Package_number_MAP.put("TGMTYY1001_098H_31_CAPRCCD1", "CAPR_CCD_1_IMG_0_2005_1");
        Package_number_MAP.put("TGMTYY1001_098H_31_CAPRCCD2", "CAPR_CCD_2_IMG_0_2005_1");
        Package_number_MAP.put("TGMTYY1001_098H_31_CAPRCCD3", "CAPR_CCD_3_VDO_0_2005_1");


//        //生命生态实验柜[通用生物培养模块宏观相机1图像数据包]
//        Package_number_MAP.put("TGWTYY0801_063H_31_GBCMAPP2", "A1_LER_GBCM_APPDATA_0_2005_1");
//        Package_number_MAP.put("TGWTYY0801_063H_31_GBCMAPP1", "A1_LER_GBCM_APPDATA_0_2005_1");
//        //FRAME_FIELD_MAP.put("6D1DH_41H", "A1_LER_GBCM_APPDATA_0_2005_1");
//        Package_number_MAP.put("TGWTYY0801_063H_31_GBCMAPP3", "A1_LER_GBCM_APPDATA_0_2005_1");
//        //通用生物培养模块荧光相机1图像数据包
//        Package_number_MAP.put("TGWTYY0801_063H_31_GBCMAPP5", "A1_LER_GBCM_APPDATA_0_2005_1");
//        Package_number_MAP.put("TGWTYY0801_063H_31_GBCMAPP7", "A1_LER_GBCM_APPDATA_0_2005_1");
//        //小型通用生物培养模块相机显微图像数据包
//        Package_number_MAP.put("TGWTYY0801_063H_31_SGBCMAPP1", "A1_LER_GBCM_APPDATA_0_2005_1");
//        //小型通用生物培养模块相机显微视频数据包
//        Package_number_MAP.put("TGWTYY0801_063H_31_SGBCMAPP2", "A1_LER_GBCM_APPDATA_0_2005_1");
//        Package_number_MAP.put("TGWTYY0801_063H_31_SGBCMAPP3", "A1_LER_GBCM_APPDATA_0_2005_1");
//
//        //生物柜
//        Package_number_MAP.put("TGWTYY0801_063H_31_MOMMAPP1", "A1_LER_GBCM_APP10DATA_0_2005_1");
//        Package_number_MAP.put("TGWTYY0801_063H_31_SCLEEMAPP1", "A1_LER_SCLEEM_APPDATA_0_2005_1");
//        Package_number_MAP.put("TGWTYY0801_063H_31_MOMMAPP3", "A1_LER_GBCM_APP10DATA_0_2005_1");


        //在线维修装调操作柜[灵巧机械手视频图像型应用数据]
        Package_number_MAP.put("TGMTYY1501_06DH_31_HMRCSAPP1H", "A1_MMW_MICU_APP1DATA1_6_7_2");
        Package_number_MAP.put("6D6DH_7EH", "A1_MMW_MICU_APP1DATA1_6_7_2");
        Package_number_MAP.put("6D1DH_7DH", "A1_MMW_MICU_APP2DATA1_6_7_2");
        Package_number_MAP.put("6D2DH_7BH", "A1_MMW_MICU_APP3DATA1_6_7_2");

        //高温材料科学实验柜  高温X射线应用数据
        Package_number_MAP.put("TGMTYY1201_09AH_HMRCSAPP2H", "XIMAGE_XIMAGE_BD_0_2005_1");
        Package_number_MAP.put("6D1DH_27H", "XIMAGE_XIMAGE_BH_6_7_2");
        Package_number_MAP.put("6D1DH_26H", "APED_APHEAD_6_7_2");


        Package_number_MAP.put("TGWTYY0701_065H_31_GCSRXWJS", "A1_GCSR_MICU_APP1DATA_20_2021_1");


//        //视频
//        Package_number_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3I", "A1_VGR_MICU_APP14DATA_20_2021_1");
//
//
//        //后面的数据字段目前都写的一样  这是变重力视频
//        Package_number_MAP.put("TGWTYY0601_096H_31_ETH-CCD-FT", "A1_VGR_MICU_APP14DATA_20_2021_1");
//        Package_number_MAP.put("TGWTYY0601_096H_31_ETH-CCD-KLA", "A1_VGR_MICU_APP14DATA_20_2021_1");
//        Package_number_MAP.put("TGWTYY0601_096H_31_ETH-CCD1-KLB", "A1_VGR_MICU_APP14DATA_20_2021_1");
//        Package_number_MAP.put("TGWTYY0601_096H_31_ETH-CCD2-KLB", "A1_VGR_MICU_APP14DATA_20_2021_1");
//        Package_number_MAP.put("21H_6D3DH", "ETH_CCD1_KLB_CCD_DATA_0_2005_1");
//
//
//        Package_number_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3", "A1_VGR_MICU_APP4DATA_14_15_1");
//        Package_number_MAP.put("TGMTYY1201_09AH_HMRCSAPP1H", "APED_APDATA_0_2005_1");
//        Package_number_MAP.put("6D1DH_35H", "A1_VGR_MICU_APP1DATA_16_2021_1");
//
//        //高温柜视频
//
//        //流体柜视频
//        Package_number_MAP.put("6D26H_2FH", "A1_FPR_MICU_APP7DATA_17_2021_1");
    }


    public static ConcurrentHashMap<String, String> STARTEND_FLAG_MAP = new ConcurrentHashMap<>();//不同柜的序列标志

    static {//格式：STARTEND_FLAG_MAP.put("","");


        //燃烧柜ranshao的序列标志
        STARTEND_FLAG_MAP.put("TGMTYY1601_09EH_31_HMRCSAPP2", "");
        STARTEND_FLAG_MAP.put("TGMTYY1601_09EH_31_HMRCSAPP3", "");
        STARTEND_FLAG_MAP.put("TGMTYY1601_09EH_31_HMRCSAPP4", "");
        STARTEND_FLAG_MAP.put("TGMTYY1601_09EH_31_HMRCSAPP5", "");
        STARTEND_FLAG_MAP.put("TGMTYY1601_09EH_31_HMRCSAPP6", "");
        STARTEND_FLAG_MAP.put("TGMTYY1601_09EH_31_HMRCSAPP7", "");

        //超冷柜
        STARTEND_FLAG_MAP.put("TGMTYY1001_098H_31_CAPRCCD1", "CAPR_CCD_1_HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGMTYY1001_098H_31_CAPRCCD2", "CAPR_CCD_2_HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGMTYY1001_098H_31_CAPRCCD3", "CAPR_CCD_3_HEAD_6_7_1");


        //生物技术实验柜[BTR应用数据包]
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP1", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D1DH_51H", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP2", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP3", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D3DH_51H", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP4", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP5", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D5DH_51H", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D7DH_51H", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D1DH_57H", "A1_BTR_PCAM_APPHEAD_6_7_1");

        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP6", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP7", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP8", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP9", "A1_BTR_BTR_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP10", "A1_BTR_PCAM_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP11", "A1_BTR_PCAM_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0901_094H_31_BTRAPP12", "A1_BTR_PCAM_APP12DATA_6_7_1");
        STARTEND_FLAG_MAP.put("6D1DH_5AH", "A1_BTR_PCAM_APP12DATA_6_7_1");
        STARTEND_FLAG_MAP.put("6D2DH_5AH", "A1_BTR_PCAM_APP13DATA_6_7_1");


        //材料舱外暴露实验装置
        STARTEND_FLAG_MAP.put("TGWTYY4001_511H_31_MEEDGIF", "A1_MEEDGIF_SYN_B_6_7_1");

        //实验舱I 科学手套箱与低温存储柜
        STARTEND_FLAG_MAP.put("6D32H_67H", "A1_GCSR_MICU_APP4DATA_6_7_1"); //显微监视图像
        STARTEND_FLAG_MAP.put("6D31H_67H", "A1_GCSR_MICU_APP3DATA_6_7_1");//显微科学图像
        STARTEND_FLAG_MAP.put("6D21H_64H", "HEAD7_HEAD8_1");//视频监控1图像
        STARTEND_FLAG_MAP.put("6D22H_64H", "HEAD7_HEAD8_1");//视频监控2图像

        //实验舱I 生命生态实验柜
        STARTEND_FLAG_MAP.put("6D1DH_41H", "A1_LER_GBCM_APPHEAD_6_7_1");//通用生物培养模块宏观相机1图像
        STARTEND_FLAG_MAP.put("6D3DH_41H", "A1_LER_GBCM_APPHEAD_6_7_1");//通用生物培养模块宏观相机2图像
        STARTEND_FLAG_MAP.put("6D5DH_41H", "A1_LER_GBCM_APPHEAD_6_7_1");//通用生物培养模块荧光相机1图像
        STARTEND_FLAG_MAP.put("6D2DH_48H", "A1_LER_GBCM_APPHEAD_6_7_1");//小型通用生物培养模块相机显微视频
        STARTEND_FLAG_MAP.put("6D4DH_48H", "A1_LER_GBCM_APPHEAD_6_7_1");//小型通用生物培养模块相机荧光视频
        STARTEND_FLAG_MAP.put("6D7DH_41H", "A1_LER_GBCM_APPHEAD_6_7_1");//通用生物培养模块荧光相机2图像
        STARTEND_FLAG_MAP.put("6D1DH_42H", "A1_LER_MOMM_APPHEAD_6_7_1");//微生物在线监测模块相机1（右）图像
        STARTEND_FLAG_MAP.put("6D1DH_47H", "A1_LER_SCLEEM_APPHEAD_6_7_1");//小型受控生命生态实验模块相机1图像
        STARTEND_FLAG_MAP.put("6D1DH_48H", "A1_LER_GBCM_APPHEAD_6_7_1");//小型通用生物培养模块相机显微图像
        STARTEND_FLAG_MAP.put("6D3DH_48H", "A1_LER_GBCM_APPHEAD_6_7_1");//小型通用生物培养模块相机荧光图像
        STARTEND_FLAG_MAP.put("6D3DH_42H", "A1_LER_MOMM_APPHEAD_6_7_1");//微生物在线监测模块相机2（左）图像


        //实验舱II 超冷原子物理实验柜
        STARTEND_FLAG_MAP.put("6DDDH_30H", "CAPR_CCD_1_HEAD_6_7_1");//超冷原子物理实验柜图像2 TGMTYY1001_098H_31_CAPRCCD2
        STARTEND_FLAG_MAP.put("6DEDH_30H", "CAPR_CCD_2_HEAD_6_7_1");//超冷原子物理实验柜图像2 TGMTYY1001_098H_31_CAPRCCD2
        STARTEND_FLAG_MAP.put("6DFDH_30H", "CAPR_CCD_3_HEAD_6_7_1");//超冷原子物理实验柜图像3 TGMTYY1001_098H_31_CAPRCCD3


//实验舱II  燃烧科学实验柜
        STARTEND_FLAG_MAP.put("6D40H_70H", "A1_CSR_MICU_APP1HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D20H_70H", "A1_CSR_MICU_APP2HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D21H_70H", "A1_CSR_MICU_APP3HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D22H_70H", "A1_CSR_MICU_APP4HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D23H_70H", "A1_CSR_MICU_APP5HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D24H_70H", "A1_CSR_MICU_APP6HEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D25H_70H", "A1_CSR_MICU_APP7HEAD_6_7_1");

        //高精度时频实验柜I 冷原子光钟原子图像数据包 zhugui
        STARTEND_FLAG_MAP.put("TGMTYY1101_069H_31_OLC6D23", "OLC6D23_6D23DATA1_6_7_1");
        STARTEND_FLAG_MAP.put("6D23H_31H", "OLC6D23_6D23DATA1_6_7_1");

        STARTEND_FLAG_MAP.put("6D1DH_32H", "HEAD6_HEAD7_1");
        STARTEND_FLAG_MAP.put("6D2DH_32H", "HEAD6_HEAD7_1");


        //通用生物培养模块宏观相机1图像数据包
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_GBCMAPP1", "A1_LER_GBCM_APPHEAD_6_7_1");

        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_GBCMAPP3", "A1_LER_GBCM_APPHEAD_6_7_1");
        //通用生物培养模块荧光相机1图像数据包
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_GBCMAPP5", "A1_LER_GBCM_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_GBCMAPP7", "A1_LER_GBCM_APPHEAD_6_7_1");
        //小型通用生物培养模块相机显微图像数据包
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_SGBCMAPP1", "A1_LER_GBCM_APPHEAD_6_7_1");
        //小型通用生物培养模块相机显微视频数据包
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_SGBCMAPP2", "A1_LER_GBCM_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_SGBCMAPP3", "A1_LER_GBCM_APPHEAD_6_7_1");
        //生命柜
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_MOMMAPP1", "A1_LER_MOMM_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_SCLEEMAPP1", "A1_LER_SCLEEM_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_MOMMAPP3", "A1_LER_MOMM_APPHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("TGWTYY0801_063H_31_GBCMAPP2", "A1_LER_GBCM_APPHEAD_6_7_1");


        //在线维修装调操作柜[灵巧机械手视频图像型应用数据]
        STARTEND_FLAG_MAP.put("TGMTYY1501_06DH_31_HMRCSAPP1H", "A1_MMW_MICU_APP1DATA1_6_7_1");
        STARTEND_FLAG_MAP.put("6D6DH_7EH", "A1_MMW_MICU_APP1DATA1_6_7_1");

        //高温材料科学实验柜
        STARTEND_FLAG_MAP.put("TGMTYY1201_09AH_HMRCSAPP2H", "XIMAGE_XIMAGE_BH_6_7_1");
        STARTEND_FLAG_MAP.put("6D1DH_27H", "XIMAGE_XIMAGE_BH_6_7_1");
        STARTEND_FLAG_MAP.put("6D1DH_26H", "APED_APHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("APED_APHEAD_6_7_1", "APED_APHEAD_6_7_1");


        STARTEND_FLAG_MAP.put("TGWTYY0701_065H_31_GCSRXWJS", "A1_GCSR_MICU_HEAD7_HEAD_6_7_1");


        //高微重力科学实验柜 悬浮系统图像
        STARTEND_FLAG_MAP.put("TGTHYY0501_061H_31_HMRCSAPP2H", "XIMAGE_XIMAGE_BH_6_7_1");

        //视频的 TGWTYY0601_096H_31_VGRCSAPP3I
        STARTEND_FLAG_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3I", "A1_VGR_MICU_APP14DATA_6_7_1");
        STARTEND_FLAG_MAP.put("TGMTYY1201_09AH_HMRCSAPP1H", "APED_APHEAD_6_7_1");
        STARTEND_FLAG_MAP.put("6D1DH_35H", "A1_VGR_MICU_APP1DATA_6_7_1");
        STARTEND_FLAG_MAP.put("21H_6D3DH", "ETH_CCD1_KLB_CCD_HEAD_6_7_1");



    }

    public static ConcurrentHashMap<String, String> IMAGENUM_FIELD_MAP = new ConcurrentHashMap<>();//不同柜的图像序号

    static {//格式：IMAGENUM_FIELD_MAP.put("","");


        //流体柜
        IMAGENUM_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1", "A1_FPR_MICU_APP1DATA_22_25_1"); //app1
        IMAGENUM_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP3", "A1_FPR_MICU_APP3DATA_16_19_1"); //app1
        IMAGENUM_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP19", "A1_FPR_MICU_APP19DATA_16_19_1"); //app1
        IMAGENUM_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1_UDP", "A1_FPR_MICU_APP1DATA_22_25_1"); //app1

        IMAGENUM_FIELD_MAP.put("6D20H_2FH", "A1_FPR_MICU_APP1DATA_22_25_1"); //高分辨CCD图像数据  TGMTYY1301_06BH_31_FPRAPP1
        IMAGENUM_FIELD_MAP.put("6D27H_2FH", "A1_FPR_MICU_APP19DATA_16_19_1"); // 显微CMOS图像数据 TGMTYY1301_06BH_31_FPRAPP19
        IMAGENUM_FIELD_MAP.put("6D21H_2FH", "A1_FPR_MICU_APP2DATA_16_19_1");//彩色CCD图像数据  TGMTYY1301_06BH_31_FPRAPP2
        IMAGENUM_FIELD_MAP.put("6D2BH_2FH", "A1_FPR_MICU_APP23DATA_16_19_1"); //图像传感器采集区域实验数据 TGMTYY1301_06BH_31_FPRAPP23
        IMAGENUM_FIELD_MAP.put("6D22H_2FH", "A1_FPR_MICU_APP3DATA_16_19_1");// 高速CCD图像数据 TGMTYY1301_06BH_31_FPRAPP3
        IMAGENUM_FIELD_MAP.put("6D23H_2FH", "A1_FPR_MICU_APP4DATA_16_19_1");//红外热像仪数据  TGMTYY1301_06BH_31_FPRAPP4

        //两相柜
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP1", "A1_TPSR_MICU_APP1DATA_22_25_1");//APP1
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPPUDP1", "A1_FPR_MICU_APP1DATA_22_25_1"); //app1
        IMAGENUM_FIELD_MAP.put("6D1DH_40H", "A1_TPSR_MICU_APP1DATA_22_25_1");//APP1
        IMAGENUM_FIELD_MAP.put("6D20H_40H", "A1_TPSR_MICU_APP4DATA_22_25_1");//APP1
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP2", "A1_TPSR_MICU_APP2DATA_22_25_1"); //APP2
        IMAGENUM_FIELD_MAP.put("6D1EH_40H", "A1_TPSR_MICU_APP2DATA_22_25_1"); //APP2
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP3", "A1_TPSR_MICU_APP3DATA_22_25_1");//APP3
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP4", "A1_TPSR_MICU_APP4DATA_22_25_1");//APP4
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP5", "A1_TPSR_MICU_APP5DATA_16_19_1");//APP5
        IMAGENUM_FIELD_MAP.put("6D21H_40H", "A1_TPSR_MICU_APP5DATA_16_19_1");//APP5
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP6", "A1_TPSR_MICU_APP6DATA_16_19_1");//APP6
        IMAGENUM_FIELD_MAP.put("6D22H_40H", "A1_TPSR_MICU_APP6DATA_16_19_1");//APP6
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP7", "A1_TPSR_MICU_APP7DATA_22_25_1");//APP7
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP8", "A1_TPSR_MICU_APP8DATA_22_25_1");//APP8
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP9", "A1_TPSR_MICU_APP9DATA_22_25_1");
        IMAGENUM_FIELD_MAP.put("6D25H_40H", "A1_TPSR_MICU_APP7DATA_22_25_1");
        IMAGENUM_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP10", "A1_TPSR_MICU_APP10DATA_22_25_1");//两相柜APP10
        IMAGENUM_FIELD_MAP.put("6D26H_40H", "A1_TPSR_MICU_APP7DATA_22_25_1");//两相柜APP10
        IMAGENUM_FIELD_MAP.put("6D1FH_40H", "A1_TPSR_MICU_APP3DATA_22_25_1");//两相柜APP10

    }

    public static ConcurrentHashMap<String, String> WIDTH_FIELD_MAP = new ConcurrentHashMap<>();//图片的宽

    static {// 格式:WIDTH_FIELD_MAP.put("","");
        //两相柜
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP1", "A1_TPSR_MICU_APP1DATA_26_27_1");//两相柜app1
        // WIDTH_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1_UDP","A1_TPSR_MICU_APP1DATA_26_27_1");//两相柜app1
        WIDTH_FIELD_MAP.put("6D1DH_40H", "A1_TPSR_MICU_APP1DATA_26_27_1");//两相柜app1
        WIDTH_FIELD_MAP.put("6D20H_40H", "A1_TPSR_MICU_APP4DATA_26_27_1");//两相柜app1

        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP2", "A1_TPSR_MICU_APP2DATA_26_27_1");
        WIDTH_FIELD_MAP.put("6D1EH_40H", "A1_TPSR_MICU_APP2DATA_26_27_1");
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP3", "A1_TPSR_MICU_APP3DATA_26_27_1");
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP4", "A1_TPSR_MICU_APP4DATA_26_27_1");
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP5", "A1_TPSR_MICU_APP5DATA_20_21_1"); //app5
        WIDTH_FIELD_MAP.put("6D21H_40H", "A1_TPSR_MICU_APP5DATA_20_21_1"); //app5
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP6", "A1_TPSR_MICU_APP6DATA_20_21_1");
        WIDTH_FIELD_MAP.put("6D22H_40H", "A1_TPSR_MICU_APP6DATA_20_21_1");
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP7", "A1_TPSR_MICU_APP7DATA_26_27_1");
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP8", "A1_TPSR_MICU_APP8DATA_26_27_1");//app8
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP9", "A1_TPSR_MICU_APP9DATA_26_27_1");
        WIDTH_FIELD_MAP.put("6D25H_40H", "A1_TPSR_MICU_APP7DATA_26_27_1");
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP10", "A1_TPSR_MICU_APP10DATA_26_27_1");//两相柜APP10
        WIDTH_FIELD_MAP.put("6D26H_40H", "A1_TPSR_MICU_APP7DATA_26_27_1");//两相柜APP10
        WIDTH_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPPUDP1", "A1_TPSR_MICU_APP10DATA_26_27_1");//两相柜APP10
        WIDTH_FIELD_MAP.put("6D1FH_40H", "A1_TPSR_MICU_APP3DATA_26_27_1");//两相柜APP10


        //流体柜
        WIDTH_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1", "A1_FPR_MICU_APP1DATA_26_27_1");
        WIDTH_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1_UDP", "A1_FPR_MICU_APP1DATA_26_27_1");
        WIDTH_FIELD_MAP.put("6D20H_2FH", "A1_FPR_MICU_APP1DATA_26_27_1");//
        WIDTH_FIELD_MAP.put("6D27H_2FH", "A1_FPR_MICU_APP19DATA_20_21_1");//
        //WIDTH_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1_UDP","A1_FPR_MICU_APP1DATA_26_27_1");//
        WIDTH_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP3", "A1_FPR_MICU_APP3DATA_22_23_1");//
        WIDTH_FIELD_MAP.put("6D22H_2FH", "A1_FPR_MICU_APP3DATA_20_21_1");//  //A1_FPR_MICU_APP3DATA_20_21_1
        WIDTH_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP19", "A1_FPR_MICU_APP19DATA_20_21_1");//
    }

    // height_field
    public static ConcurrentHashMap<String, String> HEIGHT_FIELD_MAP = new ConcurrentHashMap<>();//图片的高

    static {//格式：HEIGHT_FIELD_MAP.put("","");
        //两相柜的宽 2023/1/10
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP1", "A1_TPSR_MICU_APP1DATA_28_29_1");//两相柜app1
        HEIGHT_FIELD_MAP.put("6D1DH_40H", "A1_TPSR_MICU_APP1DATA_28_29_1");//两相柜app1
        HEIGHT_FIELD_MAP.put("6D20H_40H", "A1_TPSR_MICU_APP4DATA_28_29_1");//两相柜app1
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP2", "A1_TPSR_MICU_APP2DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("6D1EH_40H", "A1_TPSR_MICU_APP2DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP3", "A1_TPSR_MICU_APP3DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP4", "A1_TPSR_MICU_APP4DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP5", "A1_TPSR_MICU_APP5DATA_22_23_1");//app5
        HEIGHT_FIELD_MAP.put("6D21H_40H", "A1_TPSR_MICU_APP5DATA_22_23_1");//app5
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP6", "A1_TPSR_MICU_APP6DATA_22_23_1");
        HEIGHT_FIELD_MAP.put("6D22H_40H", "A1_TPSR_MICU_APP6DATA_22_23_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP7", "A1_TPSR_MICU_APP7DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP8", "A1_TPSR_MICU_APP8DATA_28_29_1");//app8
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP9", "A1_TPSR_MICU_APP9DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("6D25H_40H", "A1_TPSR_MICU_APP7DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP10", "A1_TPSR_MICU_APP10DATA_28_29_1");//两相柜APP10
        HEIGHT_FIELD_MAP.put("6D26H_40H", "A1_TPSR_MICU_APP7DATA_28_29_1");//两相柜APP10
        HEIGHT_FIELD_MAP.put("6D1FH_40H", "A1_TPSR_MICU_APP3DATA_28_29_1");//两相柜APP10


        //流体柜
        HEIGHT_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1", "A1_FPR_MICU_APP1DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1_UDP", "A1_FPR_MICU_APP1DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPPUDP1", "A1_FPR_MICU_APP1DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("6D20H_2FH", "A1_FPR_MICU_APP1DATA_28_29_1");
        HEIGHT_FIELD_MAP.put("6D27H_2FH", "A1_FPR_MICU_APP19DATA_22_23_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP3", "A1_FPR_MICU_APP3DATA_22_23_1");
        HEIGHT_FIELD_MAP.put("6D22H_2FH", "A1_FPR_MICU_APP3DATA_22_23_1");
        HEIGHT_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP19", "A1_FPR_MICU_APP19DATA_22_23_1");


    }

    public static ConcurrentHashMap<String, String> FRAME_FIELD_MAP = new ConcurrentHashMap<>();//帧字段映射

    static {//格式：FRAME_FIELD_MAP.put("", "");
        //核心舱 医学样本分析与高微重力科学实验柜
        FRAME_FIELD_MAP.put("6DCDH_1DH", "HMLR_PD_APP_H10_2005_1");//悬浮系统图像型  HMLR_PD_APP_H10_2005_1   , A1_CMPR_MICU_APP5DATA_16_2021_1
        FRAME_FIELD_MAP.put("TGTHYY0501_061H_31_HMRCSAPP2H", "XIMAGE_XIMAGE_BD_0_2005_1");
        //核心舱 无容器材料实验柜
        FRAME_FIELD_MAP.put("6D5DH_3CH", "A1_CMPR_MICU_APP5DATA_16_2021_1");//CMPR全景相机图像数据
        FRAME_FIELD_MAP.put("6D6DH_3BH", "A1_CMPR_MICU_APP6DATA_16_2021_1");//CMPR密度相机1图像数据
        FRAME_FIELD_MAP.put("6D7DH_3CH", "A1_CMPR_MICU_APP7DATA_16_2021_1");//CMPR密度相机2图像数据
        FRAME_FIELD_MAP.put("6D9DH_3FH", "A1_CMPR_MICU_APP9DATA_16_2021_1");//CMPR位控板卡图像

        FRAME_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP5", "A1_CMPR_MICU_APP5DATA_16_2021_1");
        FRAME_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP6", "A1_CMPR_MICU_APP6DATA_16_2021_1");
        FRAME_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP7", "A1_CMPR_MICU_APP7DATA_16_2021_1");
        FRAME_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP9", "A1_CMPR_MICU_APP9DATA_16_2021_1");

        //实验舱I 等离子体原位成像探测器
        FRAME_FIELD_MAP.put("TGWTYY0304_549H_31_LZCXY", "");//离子成像仪数据

        //实验舱I 生物技术实验柜
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP1", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("6D1DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP2", "A1_BTR_BTR_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D2DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP3", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("6D3DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("6D7DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("6D5DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("6D1DH_57H", "A1_BTR_PCAM_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP4", "A1_BTR_BTR_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D4DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP5", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP6", "A1_BTR_BTR_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D6DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP7", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP8", "A1_BTR_BTR_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D8DH_51H", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP9", "A1_BTR_BTR_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP10", "A1_BTR_PCAM_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP11", "A1_BTR_PCAM_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("6D2DH_57H", "A1_BTR_PCAM_APPDATA_8_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP12", "A1_BTR_PCAM_APP12DATA_24_2021_1");
        FRAME_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP13", "A1_BTR_PCAM_APP13DATA_24_2021_1");
        FRAME_FIELD_MAP.put("6D1DH_5AH", "A1_BTR_PCAM_APP12DATA_24_2021_1");
        FRAME_FIELD_MAP.put("6D2DH_5AH", "A1_BTR_PCAM_APP13DATA_24_2021_1");


        //实验舱I 材料舱外暴露实验装置
        FRAME_FIELD_MAP.put("TGWTYY4001_511H_31_MEEDGIF", "A1_MEEDGIF_DATA_B_0_2023_1");//图像

        //实验舱I 科学手套箱与低温存储柜
        FRAME_FIELD_MAP.put("6D32H_67H", "A1_GCSR_MICU_APP4DATA_16_2021_1"); //显微监视图像
        FRAME_FIELD_MAP.put("6D31H_67H", "A1_GCSR_MICU_APP3DATA_16_2021_1");//显微科学图像
        FRAME_FIELD_MAP.put("6D21H_64H", "A1_GCSR_MICU_app1data_16_2021_1");//视频监控1图像
        FRAME_FIELD_MAP.put("6D22H_64H", "A1_GCSR_MICU_APP2DATA_16_2021_1");//视频监控2图像

        //实验舱I 生命生态实验柜
        FRAME_FIELD_MAP.put("6D1DH_41H", "A1_LER_GBCM_APPDATA_0_2005_1");//通用生物培养模块宏观相机1图像
        FRAME_FIELD_MAP.put("6D3DH_41H", "A1_LER_GBCM_APPDATA_0_2005_1");//通用生物培养模块宏观相机2图像
        FRAME_FIELD_MAP.put("6D5DH_41H", "A1_LER_GBCM_APPDATA_0_2005_1");//通用生物培养模块荧光相机1图像
        FRAME_FIELD_MAP.put("6D2DH_48H", "A1_LER_GBCM_APPDATA_0_2005_1");//小型通用生物培养模块相机显微视频
        FRAME_FIELD_MAP.put("6D4DH_48H", "A1_LER_GBCM_APPDATA_0_2005_1");//小型通用生物培养模块相机荧光视频
        FRAME_FIELD_MAP.put("6D7DH_41H", "A1_LER_GBCM_APPDATA_0_2005_1");//通用生物培养模块荧光相机2图像
        FRAME_FIELD_MAP.put("6D1DH_42H", "A1_LER_GBCM_APP10DATA_0_2005_1");//微生物在线监测模块相机1（右）图像
        FRAME_FIELD_MAP.put("6D1DH_47H", "A1_LER_SCLEEM_APPDATA_0_2005_1");//小型受控生命生态实验模块相机1图像
        FRAME_FIELD_MAP.put("6D1DH_48H", "A1_LER_GBCM_APPDATA_0_2005_1");//小型通用生物培养模块相机显微图像
        FRAME_FIELD_MAP.put("6D3DH_48H", "A1_LER_GBCM_APPDATA_0_2005_1");//小型通用生物培养模块相机荧光图像
        FRAME_FIELD_MAP.put("6D3DH_42H", "A1_LER_GBCM_APP10DATA_0_2005_1");//微生物在线监测模块相机2（左）图像


        //流体柜 实验舱II 流体物理实验柜
        FRAME_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1", "A1_FPR_MICU_APP1DATA_32_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        FRAME_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP1_UDP", "A1_FPR_MICU_APP1DATA_32_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        FRAME_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP3", "A1_FPR_MICU_APP3DATA_26_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        FRAME_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP19", "A1_FPR_MICU_APP19DATA_26_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        FRAME_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP2", "A1_FPR_MICU_APP1DATA_32_2021_1");

        FRAME_FIELD_MAP.put("6D20H_2FH", "A1_FPR_MICU_APP1DATA_32_2021_1"); //高分辨CCD图像数据  TGMTYY1301_06BH_31_FPRAPP1
        FRAME_FIELD_MAP.put("6D27H_2FH", "A1_FPR_MICU_APP19DATA_26_2021_1"); // 显微CMOS图像数据 TGMTYY1301_06BH_31_FPRAPP19
        FRAME_FIELD_MAP.put("6D21H_2FH", "A1_FPR_MICU_APP1DATA_32_2021_1"); //彩色CCD图像数据  TGMTYY1301_06BH_31_FPRAPP2    后面解析出来是这个A1_FPR_MICU_APP1DATA_32_2021_1  应该是A1_FPR_MICU_APP2DATA_32_2021_1
        FRAME_FIELD_MAP.put("6D2BH_2FH", "A1_FPR_MICU_APP23DATA_26_2021_1"); //图像传感器采集区域实验数据 TGMTYY1301_06BH_31_FPRAPP23
        FRAME_FIELD_MAP.put("6D22H_2FH", "A1_FPR_MICU_APP3DATA_26_2021_1"); // 高速CCD图像数据 TGMTYY1301_06BH_31_FPRAPP3
        FRAME_FIELD_MAP.put("6D23H_2FH", "A1_FPR_MICU_APP4DATA_26_2021_1"); //红外热像仪数据  TGMTYY1301_06BH_31_FPRAPP4

        //两相柜
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPPUDP1", "A1_FPR_MICU_APP1DATA_32_2021_1"); //A1_FPR_MICU_APP1DATA_32_2021_1
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP1", "A1_TPSR_MICU_APP1DATA_32_2021_1"); //两箱柜app1
        FRAME_FIELD_MAP.put("6D1DH_40H", "A1_TPSR_MICU_APP1DATA_32_2021_1"); //两箱柜app1
        FRAME_FIELD_MAP.put("6D20H_40H", "A1_TPSR_MICU_APP4DATA_32_2021_1"); //两箱柜app1
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP2", "A1_TPSR_MICU_APP2DATA_32_2021_1");
        FRAME_FIELD_MAP.put("6D1EH_40H", "A1_TPSR_MICU_APP2DATA_32_2021_1");
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP3", "A1_TPSR_MICU_APP3DATA_32_2021_1");
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP4", "A1_TPSR_MICU_APP4DATA_32_2021_1");
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP5", "A1_TPSR_MICU_APP5DATA_26_2021_1"); //app5
        FRAME_FIELD_MAP.put("6D21H_40H", "A1_TPSR_MICU_APP5DATA_26_2021_1"); //app5
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP6", "A1_TPSR_MICU_APP6DATA_26_2021_1");
        FRAME_FIELD_MAP.put("6D22H_40H", "A1_TPSR_MICU_APP6DATA_26_2021_1");
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP7", "A1_TPSR_MICU_APP7DATA_32_2021_1");
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP8", "A1_TPSR_MICU_APP8DATA_32_2021_1");//app8
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP9", "A1_TPSR_MICU_APP9DATA_32_2021_1");
        FRAME_FIELD_MAP.put("6D25H_40H", "A1_TPSR_MICU_APP7DATA_32_2021_1");
        FRAME_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP10", "A1_TPSR_MICU_APP10DATA_32_2021_1");//两相柜APP10
        FRAME_FIELD_MAP.put("6D26H_40H", "A1_TPSR_MICU_APP7DATA_32_2021_1");//两相柜APP10
        FRAME_FIELD_MAP.put("6D1FH_40H", "A1_TPSR_MICU_APP3DATA_32_2021_1");//两相柜APP10

        //实验舱II  燃烧科学实验柜
        FRAME_FIELD_MAP.put("6D40H_70H", "A1_CSR_MICU_APP1DATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D20H_70H", "A1_CSR_MICU_APP2DATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D21H_70H", "A1_CSR_MICU_APP3DATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D22H_70H", "A1_CSR_MICU_APP4DATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D23H_70H", "A1_CSR_MICU_APP5DATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D24H_70H", "A1_CSR_MICU_APP6DATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D25H_70H", "A1_CSR_MICU_APP7DATA_0_2005_1");

        //实验舱II 高精度时频实验柜I 冷原子光钟原子图像数据包
        FRAME_FIELD_MAP.put("6D23H_31H", "OLC6D23_6D23DATA2_0_2005_1");
        FRAME_FIELD_MAP.put("TGMTYY1101_069H_31_OLC6D23", "OLC6D23_6D23DATA2_0_2005_1");
        FRAME_FIELD_MAP.put("6D9DH_71H", "APED_APDATA_0_2005_1");
        FRAME_FIELD_MAP.put("6D1DH_32H", "HEAD16_HEAD2021_1");
        FRAME_FIELD_MAP.put("6D3DH_32H", "HEAD16_HEAD2021_1");

        //实验舱II 超冷原子物理实验柜
        FRAME_FIELD_MAP.put("6DDDH_30H", "CAPR_CCD_1_IMG_0_2005_1");//超冷原子物理实验柜图像2 TGMTYY1001_098H_31_CAPRCCD2
        FRAME_FIELD_MAP.put("6DEDH_30H", "CAPR_CCD_2_IMG_0_2005_1");//超冷原子物理实验柜图像2 TGMTYY1001_098H_31_CAPRCCD2
        FRAME_FIELD_MAP.put("6DFDH_30H", "CAPR_CCD_3_VDO_0_2005_1");//超冷原子物理实验柜图像3 TGMTYY1001_098H_31_CAPRCCD3
        //超冷柜

        FRAME_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD1", "CAPR_CCD_1_IMG_0_2005_1");
        FRAME_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD2", "CAPR_CCD_2_IMG_0_2005_1");
        FRAME_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD3", "CAPR_CCD_3_VDO_0_2005_1");


        //生命生态实验柜[通用生物培养模块宏观相机1图像数据包]
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP2", "A1_LER_GBCM_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP1", "A1_LER_GBCM_APPDATA_0_2005_1");
        //FRAME_FIELD_MAP.put("6D1DH_41H", "A1_LER_GBCM_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP3", "A1_LER_GBCM_APPDATA_0_2005_1");
        //通用生物培养模块荧光相机1图像数据包
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP5", "A1_LER_GBCM_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP7", "A1_LER_GBCM_APPDATA_0_2005_1");
        //小型通用生物培养模块相机显微图像数据包
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP1", "A1_LER_GBCM_APPDATA_0_2005_1");
        //小型通用生物培养模块相机显微视频数据包
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP2", "A1_LER_GBCM_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP3", "A1_LER_GBCM_APPDATA_0_2005_1");

        //生物柜
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_MOMMAPP1", "A1_LER_GBCM_APP10DATA_0_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_SCLEEMAPP1", "A1_LER_SCLEEM_APPDATA_0_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0801_063H_31_MOMMAPP3", "A1_LER_GBCM_APP10DATA_0_2005_1");


        //在线维修装调操作柜[灵巧机械手视频图像型应用数据]
        FRAME_FIELD_MAP.put("TGMTYY1501_06DH_31_HMRCSAPP1H", "MMW_APP_H_0_2005_1");
        FRAME_FIELD_MAP.put("6D6DH_7EH", "MMW_APP_H_0_2005_1");
        FRAME_FIELD_MAP.put("6D1DH_7DH", "MMW_APP_H_0_2005_1");
        FRAME_FIELD_MAP.put("6D2DH_7BH", "MMW_APP_H_0_2005_1");

        //高温材料科学实验柜  高温X射线应用数据
        FRAME_FIELD_MAP.put("TGMTYY1201_09AH_HMRCSAPP2H", "XIMAGE_XIMAGE_BD_0_2005_1");
        FRAME_FIELD_MAP.put("6D1DH_27H", "XIMAGE_XIMAGE_BD_0_2005_1");



        FRAME_FIELD_MAP.put("TGWTYY0701_065H_31_GCSRXWJS", "A1_GCSR_MICU_APP1DATA_20_2021_1");


        //视频
        FRAME_FIELD_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3I", "A1_VGR_MICU_APP14DATA_20_2021_1");


        //后面的数据字段目前都写的一样  这是变重力视频
        FRAME_FIELD_MAP.put("TGWTYY0601_096H_31_ETH-CCD-FT", "A1_VGR_MICU_APP14DATA_20_2021_1");
        FRAME_FIELD_MAP.put("TGWTYY0601_096H_31_ETH-CCD-KLA", "A1_VGR_MICU_APP14DATA_20_2021_1");
        FRAME_FIELD_MAP.put("TGWTYY0601_096H_31_ETH-CCD1-KLB", "A1_VGR_MICU_APP14DATA_20_2021_1");
        FRAME_FIELD_MAP.put("TGWTYY0601_096H_31_ETH-CCD2-KLB", "A1_VGR_MICU_APP14DATA_20_2021_1");
        FRAME_FIELD_MAP.put("21H_6D3DH", "ETH_CCD1_KLB_CCD_DATA_0_2005_1");
        FRAME_FIELD_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3", "A1_VGR_MICU_APP4DATA_14_15_1");
        FRAME_FIELD_MAP.put("TGMTYY1201_09AH_HMRCSAPP1H", "APED_APDATA_0_2005_1");

        FRAME_FIELD_MAP.put("6D3DH_20H_FT", "ETH_CCD_FT_CCD_DATA_16_2021_1");//工位7-沸腾视频
        FRAME_FIELD_MAP.put("6D3DH_20H", "ETH_CCD_KLA_CCD_DATA_16_2021_1");//工位11-颗粒A视频
        FRAME_FIELD_MAP.put("6D3DH_21H", "ETH_CCD1_KLB_CCD_DATA_16_2021_1");//工位14-颗粒B相机1视频
        FRAME_FIELD_MAP.put("6D3DH_23H", "ETH_CCD2_KLB_CCD_DATA_16_2021_1");//工位14-颗粒B相机2视频
        FRAME_FIELD_MAP.put("6D1DH_35H", "A1_VGR_MICU_APP13DATA_20_2021_1");//变重力定子相机1视频型
        FRAME_FIELD_MAP.put("6D2DH_35H", "A1_VGR_MICU_APP14DATA_20_2021_1");//变重力定子相机2视频型

        //高温柜视频
        FRAME_FIELD_MAP.put("6D1DH_26H", "APED_APDATA_0_2005_1");
        //流体柜视频

        FRAME_FIELD_MAP.put("6D29H_2FH", "");//复杂流体EC内全景相机1图像数据
        FRAME_FIELD_MAP.put("6D2AH_2FH", "");//复杂流体EC内全景相机2图像数据
        FRAME_FIELD_MAP.put("6D24H_2FH", "");//流体动力学EC内全景相机1图像数据
        FRAME_FIELD_MAP.put("6D25H_2FH", "");//流体动力学EC内全景相机2图像数据
        FRAME_FIELD_MAP.put("6D26H_2FH", "A1_FPR_MICU_APP7DATA_17_2021_1");//流体动力学全景相机图像数据
        FRAME_FIELD_MAP.put("6D28H_2FH", "A1_FPR_MICU_APP20DATA_17_2021_1");//复杂流体全景相机图像数据

    }

    //高温柜的图片类型

    public static final ConcurrentHashMap<String, Integer> imageType = new ConcurrentHashMap<>();
    //生物实验柜J2K的数据
    public static final String SHENGWUSHIYANGUI_J2K_HEADER = "FFFFFFF0";
    public static final String SHENGWUSHIYANGUI_J2K_HEADER_SUB_1 = "FFFFFF";
    public static final String SHENGWUSHIYANGUI_J2K_HEADER_SUB_2 = "FFFF";
    public static final String SHENGWUSHIYANGUI_J2K_HEADER_SUB_3 = "FF";

    public static ConcurrentHashMap<String, List<GmvVideo>> idsVideoMap = new ConcurrentHashMap<>();
    public static ConcurrentHashMap<String, List<JSONObject>> idsImageMap = new ConcurrentHashMap<>();

    public static final String GAOWEIGUI_XUANFU_HEADER = "180000";
    public static final String GAOWEIGUI_XUANFU_HEADER_SECOND_CAN = "180002";
    public static final String GAOWEIGUI_XUANFU_HEADER_START_SUB_1 = "1800";
    public static final String GAOWEIGUI_XUANFU_HEADER_START_SUB_2 = "18";

    public static final String ZAIXIANGUI_CAOZUOXIANG_HEADER = "01080009";
    public static final String ZAIXIANGUI_CAOZUOXIANG_HEADER_START_SUB_1 = "010800";
    public static final String ZAIXIANGUI_CAOZUOXIANG_HEADER_START_SUB_2 = "0108";
    public static final String ZAIXIANGUI_CAOZUOXIANG_HEADER_START_SUB_3 = "01";

    public static final String WURONGQI_HEADER = "1ACFFC1D";
    public static final String WURONGQI_HEADER_START_SUB_1 = "1ACFFC";
    public static final String WURONGQI_HEADER_START_SUB_2 = "1ACF";
    public static final String WURONGQI_HEADER_START_SUB_3 = "1A";

    public static final Map<Long, Integer> TABLE_NAME_2_SEGMENT_MAP = MapUtil.builder(new HashMap<Long, Integer>())
            .put(78L, 86400)
            .put(93L, 120)
            .put(90L, 120)
            .put(92L, 120)
            .put(67L, 600)
            .put(68L, 600)
            .put(89L, 120)
            .put(91L, 120)
            .put(69L, 600)
            .put(88L, 120)
            .put(70L, 600)
            .put(66L, 600)
            .put(65L, 600)
            .put(156L, 3000)
            .put(153L, 3000)
            .put(154L, 3000)
            .put(155L, 3000)
            .map();

    public static final Map<String, Long> HEADER_2_XMLID_MAP = MapUtil.builder(new HashMap<String, Long>())
            .put("55AA6D22", 155L)//TGWTYY0701_065H_31_GCSRSPJK2
            .map();

    public static final ConcurrentHashMap<String, StringBuilder> imageData = new ConcurrentHashMap<>();

    public static final ConcurrentHashMap<String, int[]> shipinzhuguiInt = new ConcurrentHashMap<>();
    //存入UDP的 三个数据
    public static final ConcurrentHashMap<String, String> UDPData = new ConcurrentHashMap<>();
    // public static final ConcurrentHashMap<String, String> UDPData2 = new ConcurrentHashMap<>();


    public static final ConcurrentHashMap<String, AtomicInteger> packageTotalNum = new ConcurrentHashMap<>();

    public static volatile ConcurrentHashMap<String, EvictingQueue<JSONObject>> videoData = new ConcurrentHashMap<>();
    public static volatile ConcurrentHashMap<String, AtomicLong> videoIndex = new ConcurrentHashMap<>();
    //文件索引
    public static volatile ConcurrentHashMap<String, Cache<Integer, Long>> fileIndexCache = new ConcurrentHashMap<>();

    public static OHCache<String, JSONObject> video_cache = OHCacheBuilder.<String, JSONObject>newBuilder()
            .keySerializer(new CacheStringSerializer())
            .valueSerializer(new CacheJsonSerializer())
            .eviction(Eviction.W_TINY_LFU)
            .capacity(1024 * 1024 * 1024 * 200L)
//            .timeouts(true)
//            .defaultTTLmillis(1000*30)
            .build();

    public static volatile Cache<String, Long> ptCache = Caffeine.newBuilder()
            .expireAfterWrite(60 * 10, TimeUnit.SECONDS) //某个数据在多久没有被更新后，就过期,线程等待多久为6分钟
            .build();

    public static volatile Cache<String, LinkedList<String>> secondIndexCache = Caffeine.newBuilder()
            .expireAfterWrite(60 * 10, TimeUnit.SECONDS)
            .build();

    public static volatile Cache<String, JSONObject> dataTableCache = Caffeine.newBuilder()
            .expireAfterWrite(60 * 10, TimeUnit.SECONDS)
            .build();


    //ids file table name 向前端推送
    public static volatile Cache<String, String> idsFileTableName = Caffeine.newBuilder()
            .expireAfterWrite(20, TimeUnit.SECONDS)
            .build();

//    public static Cache<Long, Long> fileIndexCache = Caffeine.newBuilder()
////            .expireAfterWrite(60*10, TimeUnit.SECONDS)
//            .build();


    public static ConcurrentHashMap<Pointer, String> pointerAndConVer = new ConcurrentHashMap<>();

    public static ConcurrentHashMap<String, Long> offsetMap = new ConcurrentHashMap<>();

    //客户端版本号
    public static ConcurrentHashMap<String, AtomicInteger> clientVersionMap = new ConcurrentHashMap<>();


//    public static ConcurrentHashMap<String,String> SECOND_FIELD_MAP = new ConcurrentHashMap<>();//时间码秒计数
//    static{//格式：SECOND_FIELD_MAP.put("", "");
//        SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP5", "A1_CMPR_MICU_APP5DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP6", "A1_CMPR_MICU_APP6DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP7", "A1_CMPR_MICU_APP7DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP9", "A1_CMPR_MICU_APP9DATA_8_11_1");
//        //高微重力科学实验柜 悬浮系统图像
//        SECOND_FIELD_MAP.put("TGTHYY0501_061H_31_HMRCSAPP2H", "A1_HMLR_MICU_APP4DATAZGR_8_11_1");
//        //流体柜UDP TGMTYY1401_09CH_31_TPSRAPPUDP1
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPPUDP1", "A1_TPSR_MICU_APP1DATA_14_15_1");
//        SECOND_FIELD_MAP.put("6D20H_2FH", "A1_FPR_MICU_APP19DATA_8_11_1");
//        SECOND_FIELD_MAP.put("6D27H_2FH", "A1_FPR_MICU_APP1DATA_8_11_1");
//
//
//        //两相柜APP1 时间码秒计数
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP1", "A1_TPSR_MICU_APP1DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP2", "A1_TPSR_MICU_APP2DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP3", "A1_TPSR_MICU_APP3DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP4", "A1_TPSR_MICU_APP4DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP5", "A1_TPSR_MICU_APP5DATA_8_11_1");//app5
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP6", "A1_TPSR_MICU_APP6DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP7", "A1_TPSR_MICU_APP7DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP8", "A1_TPSR_MICU_APP8DATA_8_11_1");//app8
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP9", "A1_TPSR_MICU_APP9DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP10", "A1_TPSR_MICU_APP10DATA_8_11_1");//两相柜APP10
//        SECOND_FIELD_MAP.put("6D1DH_40H", "A1_TPSR_MICU_APP1DATA_14_15_1");
//        SECOND_FIELD_MAP.put("6D20H_40H", "A1_TPSR_MICU_APP4DATA_14_15_1");
//
//        //超冷柜
//        SECOND_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD1", "CAPR_CCD_1_HEAD_8_11_1");
//        SECOND_FIELD_MAP.put("6DDDH_30H", "CAPR_CCD_1_HEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD2", "CAPR_CCD_2_HEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD3", "CAPR_CCD_3_HEAD_8_11_1");
//
//        //材料舱外暴露实验装置
//        SECOND_FIELD_MAP.put("TGWTYY4001_511H_31_MEEDGIF","A1_MEEDGIF_HEAD2_B_14_17_1");
//
//        //生命生态实验柜[通用生物培养模块宏观相机1图像数据包]
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP1", "A1_LER_GBCM_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP3", "A1_LER_GBCM_APPHEAD_8_11_1");
//        //通用生物培养模块荧光相机1图像数据包
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP5", "A1_LER_GBCM_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP7", "A1_LER_GBCM_APPHEAD_8_11_1");
//        ////小型通用生物培养模块相机显微图像数据包
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP1", "A1_LER_GBCM_APPHEAD_8_11_1");
//        //小型通用生物培养模块相机显微视频数据包
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP2","A1_LER_GBCM_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP3","A1_LER_GBCM_APPHEAD_8_11_1");
//
//        //生命柜
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_MOMMAPP1", "A1_LER_MOMM_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SCLEEMAPP1", "A1_LER_SCLEEM_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_MOMMAPP3", "A1_LER_MOMM_APPHEAD_8_11_1");
//
//        //生物技术实验柜[BTR应用数据包]
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP1","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP2","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP3","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP4","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP5","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP6","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP7","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP8","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP9","A1_BTR_BTR_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP10","A1_BTR_PCAM_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP11","A1_BTR_PCAM_APPHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP12","A1_BTR_BTR_APP12HEAD_8_11_1");
//
//        //视频播放数据
//        SECOND_FIELD_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3I","A1_VGR_MICU_APP14DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3","A1_VGR_MICU_APP4DATA_8_11_1");
//        SECOND_FIELD_MAP.put("TGMTYY1201_09AH_HMRCSAPP1H","APED_APHEAD_8_11_1");
//        SECOND_FIELD_MAP.put("6D1DH_35H","A1_VGR_MICU_APP1DATA_8_11_1");
//
//
//        //手套箱
//        SECOND_FIELD_MAP.put("TGWTYY0701_065H_31_GCSRXWJS","A1_GCSR_MICU_HEAD7_HEAD_8_11_1");
//
//
//
//
//
//    }
//    public static ConcurrentHashMap<String,String> SUB_SECOND_FIELD_MAP = new ConcurrentHashMap<>();//时间码微秒计数
//    static{//格式： SUB_SECOND_FIELD_MAP.put("", "");
//
//        SUB_SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP5", "A1_CMPR_MICU_APP5DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP6", "A1_CMPR_MICU_APP6DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP7", "A1_CMPR_MICU_APP7DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGTHYY0401_090H_31_CMPRAPP9", "A1_CMPR_MICU_APP9DATA_12_13_1");
//        //高微重力科学实验柜 悬浮系统图像
//        SUB_SECOND_FIELD_MAP.put("TGTHYY0501_061H_31_HMRCSAPP2H", "A1_HMLR_MICU_APP4DATAZGR_12_13_1");
//
//        //流体柜UDP
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPPUDP1", "A1_TPSR_MICU_APP1DATA_16_19_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1301_06BH_31_FPRAPP3", "A1_TPSR_MICU_APP3DATA_16_19_1");
//        SUB_SECOND_FIELD_MAP.put("6D1DH_40H", "A1_TPSR_MICU_APP1DATA_16_19_1");
//        SUB_SECOND_FIELD_MAP.put("6D20H_40H", "A1_TPSR_MICU_APP4DATA_16_19_1");
//
//        //两相柜APP1 时间码微秒计数
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP1", "A1_TPSR_MICU_APP1DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP2", "A1_TPSR_MICU_APP2DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP3", "A1_TPSR_MICU_APP3DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP4", "A1_TPSR_MICU_APP4DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP5", "A1_TPSR_MICU_APP5DATA_12_13_1");//app5
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP6", "A1_TPSR_MICU_APP6DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP7", "A1_TPSR_MICU_APP7DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP8", "A1_TPSR_MICU_APP8DATA_12_13_1");//app8
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP9", "A1_TPSR_MICU_APP9DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1401_09CH_31_TPSRAPP10", "A1_TPSR_MICU_APP10DATA_12_13_1");//两相柜APP10
//
//        //超冷柜
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD1", "CAPR_CCD_1_HEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD2", "CAPR_CCD_2_HEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1001_098H_31_CAPRCCD3", "CAPR_CCD_3_HEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("6DDDH_30H", "CAPR_CCD_1_HEAD_12_13_1");
//
//        //材料舱外暴露实验装置
//        SUB_SECOND_FIELD_MAP.put("TGWTYY4001_511H_31_MEEDGIF","A1_MEEDGIF_HEAD2_B_18_19_1");
//
//        //生命生态实验柜[通用生物培养模块宏观相机1图像数据包]
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP1", "A1_LER_GBCM_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP3", "A1_LER_GBCM_APPHEAD_12_13_1");
//        //通用生物培养模块荧光相机1图像数据包
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP5", "A1_LER_GBCM_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_GBCMAPP7", "A1_LER_GBCM_APPHEAD_12_13_1");
//        ////小型通用生物培养模块相机显微图像数据包
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP1", "A1_LER_GBCM_APPHEAD_12_13_1");
//        //小型通用生物培养模块相机显微视频数据包
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP2","A1_LER_GBCM_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SGBCMAPP3","A1_LER_GBCM_APPHEAD_12_13_1");
//        //生命柜
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_MOMMAPP1", "A1_LER_MOMM_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_SCLEEMAPP1", "A1_LER_SCLEEM_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0801_063H_31_MOMMAPP3", "A1_LER_MOMM_APPHEAD_12_13_1");
//
//
//        //生物技术实验柜[BTR应用数据包]
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP1","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP2","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP3","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP4","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP5","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP6","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP7","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP8","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP9","A1_BTR_BTR_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP10","A1_BTR_PCAM_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP11","A1_BTR_PCAM_APPHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0901_094H_31_BTRAPP12","A1_BTR_BTR_APP12HEAD_12_13_1");
//
//        //视频播放数据
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3I","A1_VGR_MICU_APP14DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0601_096H_31_VGRCSAPP3","A1_VGR_MICU_APP14DATA_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("TGMTYY1201_09AH_HMRCSAPP1H","APED_APHEAD_12_13_1");
//        SUB_SECOND_FIELD_MAP.put("6D1DH_35H","A1_VGR_MICU_APP1DATA_12_13_1");
//
//        //手套箱
//        SUB_SECOND_FIELD_MAP.put("TGWTYY0701_065H_31_GCSRXWJS","A1_GCSR_MICU_HEAD7_HEAD_12_13_1");
//
//    }
}
